import Vue from 'vue'
import Vuex from 'vuex'
import { App } from '../interface/types/app'
import { GlobalData } from '../interface/types/global-data'
import { User } from '../interface/types/user'

Vue.use(Vuex)

export interface RootState {
  app: App
  globalData: GlobalData
  user: User
}

export default new Vuex.Store<RootState>({})
